<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>LTE-UNB: Link::Link Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">LTE-UNB
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_link.html">Link</a>      </li>
      <li class="navelem"><a class="el" href="class_link_1_1_link.html">Link</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">Link::Link Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="Link::Link" -->
<p><code>#include &lt;<a class="el" href="_link_8h_source.html">Link.h</a>&gt;</code></p>

<p><a href="class_link_1_1_link-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#ab1e0a9d7d21c2e30e49c2413ec03fc9e">~Link</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a4cbb5fe539032007cee47b8a9d58b1dc">setParameters</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a464d3912b1c188d1e1a2a6a45dcd8d73">initialize</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a1e36fbbc5b32636a63055c1a192f6d46">clear</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#ababef7ddfef54c3445b2530d14d1690c">createLinks</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a742ca9b466ed18eca95e72e61bbcfce8">getLoss</a> (int i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a2c43965b528c0e0a8b5f832620d9c285">getTotalFading</a> (int eNodeBId, int userId, double time, double frequency, int antenna)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#ae27e4ae64f928964a557471315a582d8">calculateCQI</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a4e5e7c464eafb76d31dc2e69f2ccc557">calculateSINR</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#ae273326cb7bc7d75465c53f296b1dbb6">calculateSINR1</a> (int index, ivec &amp;SchedulerUsers_, vec frequencies, bool calc)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a22b57bd53dd283b45e7c145988a237df">calculateSINRs1</a> (int scheduleduser, ivec &amp;SchedulerUsers_, vec frequencies, bool calc)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#aa47c754e5e1d198f0734cbc4cb72e057">calculateSINRPerUser1</a> (int userId, int eNodeBId, double frequency, int antenna, double InterSINR)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a66c353ad3d622f9add3dc0acde21f0fc">calculateSINRs</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a6e2c48ce36688fdd487ba28188807185">calculateSINRSounding</a> (ivec &amp;SchedulerUsers_)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a7ea328667080c29fd2442bba7b5f84e6">calculateSINRPerUser</a> (int userId, int eNodeBId, double frequency, int antenna)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#aeb0c6542aec0249331af768303ac2d24">CalculateInterFading</a> (int userId, int eNodeBId, double frequency, int antenna)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#ab1e0a9d7d21c2e30e49c2413ec03fc9e">~Link</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a4cbb5fe539032007cee47b8a9d58b1dc">setParameters</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a464d3912b1c188d1e1a2a6a45dcd8d73">initialize</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a1e36fbbc5b32636a63055c1a192f6d46">clear</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#ababef7ddfef54c3445b2530d14d1690c">createLinks</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a742ca9b466ed18eca95e72e61bbcfce8">getLoss</a> (int i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a2c43965b528c0e0a8b5f832620d9c285">getTotalFading</a> (int eNodeBId, int userId, double time, double frequency, int antenna)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#ae27e4ae64f928964a557471315a582d8">calculateCQI</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a4e5e7c464eafb76d31dc2e69f2ccc557">calculateSINR</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a66c353ad3d622f9add3dc0acde21f0fc">calculateSINRs</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a7ea328667080c29fd2442bba7b5f84e6">calculateSINRPerUser</a> (int userId, int eNodeBId, double frequency, int antenna)</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_link_1_1_link.html">Link</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a745b9884b5ea5bdc2ea454398c3a23d0">getInstance</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_link_1_1_link.html">Link</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link_1_1_link.html#a9fdf7af569e3008877606f154f6b3f66">getInstance</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4af4f0c6e9dfa5da60b8bda3d14db4e0"></a><!-- doxytag: member="Link::Link::sche" ref="a4af4f0c6e9dfa5da60b8bda3d14db4e0" args="" -->
<a class="el" href="class_scheduler_1_1_scheduling_algorithm.html">Scheduler::SchedulingAlgorithm</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>sche</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a967b5b8f8cb16bbd7ebfc11069f2726f"></a><!-- doxytag: member="Link::Link::prb" ref="a967b5b8f8cb16bbd7ebfc11069f2726f" args="" -->
<a class="el" href="class_physical_layer_1_1_physical_resource_block.html">PhysicalLayer::PhysicalResourceBlock</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>prb</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa5c06a79acd9c0a3464ee30edb656d7c"></a><!-- doxytag: member="Link::Link::frequencies" ref="aa5c06a79acd9c0a3464ee30edb656d7c" args="" -->
vec&#160;</td><td class="memItemRight" valign="bottom"><b>frequencies</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="class_link_1_1_link.html">Link</a> Class. Detailed Description. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab1e0a9d7d21c2e30e49c2413ec03fc9e"></a><!-- doxytag: member="Link::Link::~Link" ref="ab1e0a9d7d21c2e30e49c2413ec03fc9e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_link_1_1_link.html#ab1e0a9d7d21c2e30e49c2413ec03fc9e">Link::Link::~Link</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructor. Left empty. </p>

</div>
</div>
<a class="anchor" id="ab1e0a9d7d21c2e30e49c2413ec03fc9e"></a><!-- doxytag: member="Link::Link::~Link" ref="ab1e0a9d7d21c2e30e49c2413ec03fc9e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_link_1_1_link.html#ab1e0a9d7d21c2e30e49c2413ec03fc9e">Link::Link::~Link</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructor. Left empty. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae27e4ae64f928964a557471315a582d8"></a><!-- doxytag: member="Link::Link::calculateCQI" ref="ae27e4ae64f928964a557471315a582d8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_link_1_1_link.html#ae27e4ae64f928964a557471315a582d8">Link::Link::calculateCQI</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Detailed description. </p>

</div>
</div>
<a class="anchor" id="ae27e4ae64f928964a557471315a582d8"></a><!-- doxytag: member="Link::Link::calculateCQI" ref="ae27e4ae64f928964a557471315a582d8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_link_1_1_link.html#ae27e4ae64f928964a557471315a582d8">Link::Link::calculateCQI</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculates CQI. </p>

</div>
</div>
<a class="anchor" id="aeb0c6542aec0249331af768303ac2d24"></a><!-- doxytag: member="Link::Link::CalculateInterFading" ref="aeb0c6542aec0249331af768303ac2d24" args="(int userId, int eNodeBId, double frequency, int antenna)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_link_1_1_link.html#aeb0c6542aec0249331af768303ac2d24">Link::Link::CalculateInterFading</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>userId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>eNodeBId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>frequency</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>antenna</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculate the fading between the user that are producing interference and the ENodeB. </p>

</div>
</div>
<a class="anchor" id="a4e5e7c464eafb76d31dc2e69f2ccc557"></a><!-- doxytag: member="Link::Link::calculateSINR" ref="a4e5e7c464eafb76d31dc2e69f2ccc557" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_link_1_1_link.html#a4e5e7c464eafb76d31dc2e69f2ccc557">Link::Link::calculateSINR</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Detailed description. </p>

</div>
</div>
<a class="anchor" id="a4e5e7c464eafb76d31dc2e69f2ccc557"></a><!-- doxytag: member="Link::Link::calculateSINR" ref="a4e5e7c464eafb76d31dc2e69f2ccc557" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_link_1_1_link.html#a4e5e7c464eafb76d31dc2e69f2ccc557">Link::Link::calculateSINR</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calls calculateSINRs e calculateCQI </p>

</div>
</div>
<a class="anchor" id="ae273326cb7bc7d75465c53f296b1dbb6"></a><!-- doxytag: member="Link::Link::calculateSINR1" ref="ae273326cb7bc7d75465c53f296b1dbb6" args="(int index, ivec &amp;SchedulerUsers_, vec frequencies, bool calc)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_link_1_1_link.html#ae273326cb7bc7d75465c53f296b1dbb6">Link::Link::calculateSINR1</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ivec &amp;&#160;</td>
          <td class="paramname"><em>SchedulerUsers_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">vec&#160;</td>
          <td class="paramname"><em>frequencies</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>calc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calls calculateSINRs e calculateCQI </p>

</div>
</div>
<a class="anchor" id="a7ea328667080c29fd2442bba7b5f84e6"></a><!-- doxytag: member="Link::Link::calculateSINRPerUser" ref="a7ea328667080c29fd2442bba7b5f84e6" args="(int userId, int eNodeBId, double frequency, int antenna)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_link_1_1_link.html#a7ea328667080c29fd2442bba7b5f84e6">Link::Link::calculateSINRPerUser</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>userId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>eNodeBId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>frequency</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>antenna</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Detailed description. </p>

</div>
</div>
<a class="anchor" id="a7ea328667080c29fd2442bba7b5f84e6"></a><!-- doxytag: member="Link::Link::calculateSINRPerUser" ref="a7ea328667080c29fd2442bba7b5f84e6" args="(int userId, int eNodeBId, double frequency, int antenna)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_link_1_1_link.html#a7ea328667080c29fd2442bba7b5f84e6">Link::Link::calculateSINRPerUser</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>userId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>eNodeBId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>frequency</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>antenna</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Detailed description. </p>

</div>
</div>
<a class="anchor" id="aa47c754e5e1d198f0734cbc4cb72e057"></a><!-- doxytag: member="Link::Link::calculateSINRPerUser1" ref="aa47c754e5e1d198f0734cbc4cb72e057" args="(int userId, int eNodeBId, double frequency, int antenna, double InterSINR)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_link_1_1_link.html#aa47c754e5e1d198f0734cbc4cb72e057">Link::Link::calculateSINRPerUser1</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>userId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>eNodeBId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>frequency</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>antenna</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>InterSINR</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculate the SINR for each user. </p>

</div>
</div>
<a class="anchor" id="a66c353ad3d622f9add3dc0acde21f0fc"></a><!-- doxytag: member="Link::Link::calculateSINRs" ref="a66c353ad3d622f9add3dc0acde21f0fc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_link_1_1_link.html#a66c353ad3d622f9add3dc0acde21f0fc">Link::Link::calculateSINRs</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Detailed description. </p>

</div>
</div>
<a class="anchor" id="a66c353ad3d622f9add3dc0acde21f0fc"></a><!-- doxytag: member="Link::Link::calculateSINRs" ref="a66c353ad3d622f9add3dc0acde21f0fc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_link_1_1_link.html#a66c353ad3d622f9add3dc0acde21f0fc">Link::Link::calculateSINRs</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Detailed description. </p>

</div>
</div>
<a class="anchor" id="a22b57bd53dd283b45e7c145988a237df"></a><!-- doxytag: member="Link::Link::calculateSINRs1" ref="a22b57bd53dd283b45e7c145988a237df" args="(int scheduleduser, ivec &amp;SchedulerUsers_, vec frequencies, bool calc)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_link_1_1_link.html#a22b57bd53dd283b45e7c145988a237df">Link::Link::calculateSINRs1</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>scheduleduser</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ivec &amp;&#160;</td>
          <td class="paramname"><em>SchedulerUsers_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">vec&#160;</td>
          <td class="paramname"><em>frequencies</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>calc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculates the SINRs of users. </p>

</div>
</div>
<a class="anchor" id="a6e2c48ce36688fdd487ba28188807185"></a><!-- doxytag: member="Link::Link::calculateSINRSounding" ref="a6e2c48ce36688fdd487ba28188807185" args="(ivec &amp;SchedulerUsers_)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_link_1_1_link.html#a6e2c48ce36688fdd487ba28188807185">Link::Link::calculateSINRSounding</a> </td>
          <td>(</td>
          <td class="paramtype">ivec &amp;&#160;</td>
          <td class="paramname"><em>SchedulerUsers_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Detailed description. </p>

</div>
</div>
<a class="anchor" id="a1e36fbbc5b32636a63055c1a192f6d46"></a><!-- doxytag: member="Link::Link::clear" ref="a1e36fbbc5b32636a63055c1a192f6d46" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_link_1_1_link.html#a1e36fbbc5b32636a63055c1a192f6d46">Link::Link::clear</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Detailed description. </p>

</div>
</div>
<a class="anchor" id="a1e36fbbc5b32636a63055c1a192f6d46"></a><!-- doxytag: member="Link::Link::clear" ref="a1e36fbbc5b32636a63055c1a192f6d46" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_link_1_1_link.html#a1e36fbbc5b32636a63055c1a192f6d46">Link::Link::clear</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Sets size 0 to userId_, eNodeBId_ and losses. </p>

</div>
</div>
<a class="anchor" id="ababef7ddfef54c3445b2530d14d1690c"></a><!-- doxytag: member="Link::Link::createLinks" ref="ababef7ddfef54c3445b2530d14d1690c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_link_1_1_link.html#ababef7ddfef54c3445b2530d14d1690c">Link::Link::createLinks</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Detailed description. </p>

</div>
</div>
<a class="anchor" id="ababef7ddfef54c3445b2530d14d1690c"></a><!-- doxytag: member="Link::Link::createLinks" ref="ababef7ddfef54c3445b2530d14d1690c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_link_1_1_link.html#ababef7ddfef54c3445b2530d14d1690c">Link::Link::createLinks</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Initialize links. </p>

</div>
</div>
<a class="anchor" id="a9fdf7af569e3008877606f154f6b3f66"></a><!-- doxytag: member="Link::Link::getInstance" ref="a9fdf7af569e3008877606f154f6b3f66" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_link_1_1_link.html">Link</a>* <a class="el" href="class_link_1_1_link.html#a745b9884b5ea5bdc2ea454398c3a23d0">Link::Link::getInstance</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Sinlgetown instance of the class. </p>

</div>
</div>
<a class="anchor" id="a745b9884b5ea5bdc2ea454398c3a23d0"></a><!-- doxytag: member="Link::Link::getInstance" ref="a745b9884b5ea5bdc2ea454398c3a23d0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_link_1_1_link.html">Link::Link</a> * <a class="el" href="class_link_1_1_link.html#a745b9884b5ea5bdc2ea454398c3a23d0">Link::Link::getInstance</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Sinlgetown instance of the class. </p>

</div>
</div>
<a class="anchor" id="a742ca9b466ed18eca95e72e61bbcfce8"></a><!-- doxytag: member="Link::Link::getLoss" ref="a742ca9b466ed18eca95e72e61bbcfce8" args="(int i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_link_1_1_link.html#a742ca9b466ed18eca95e72e61bbcfce8">Link::Link::getLoss</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Detailed description. </p>

</div>
</div>
<a class="anchor" id="a742ca9b466ed18eca95e72e61bbcfce8"></a><!-- doxytag: member="Link::Link::getLoss" ref="a742ca9b466ed18eca95e72e61bbcfce8" args="(int i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_link_1_1_link.html#a742ca9b466ed18eca95e72e61bbcfce8">Link::Link::getLoss</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return Losses. </p>

</div>
</div>
<a class="anchor" id="a2c43965b528c0e0a8b5f832620d9c285"></a><!-- doxytag: member="Link::Link::getTotalFading" ref="a2c43965b528c0e0a8b5f832620d9c285" args="(int eNodeBId, int userId, double time, double frequency, int antenna)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_link_1_1_link.html#a2c43965b528c0e0a8b5f832620d9c285">Link::Link::getTotalFading</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>eNodeBId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>userId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>time</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>frequency</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>antenna</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Detailed description. </p>

</div>
</div>
<a class="anchor" id="a2c43965b528c0e0a8b5f832620d9c285"></a><!-- doxytag: member="Link::Link::getTotalFading" ref="a2c43965b528c0e0a8b5f832620d9c285" args="(int eNodeBId, int userId, double time, double frequency, int antenna)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_link_1_1_link.html#a2c43965b528c0e0a8b5f832620d9c285">Link::Link::getTotalFading</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>eNodeBId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>userId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>time</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>frequency</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>antenna</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculates the total fading between an ENodeB and an user with the parameteres. </p>

</div>
</div>
<a class="anchor" id="a464d3912b1c188d1e1a2a6a45dcd8d73"></a><!-- doxytag: member="Link::Link::initialize" ref="a464d3912b1c188d1e1a2a6a45dcd8d73" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_link_1_1_link.html#a464d3912b1c188d1e1a2a6a45dcd8d73">Link::Link::initialize</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Detailed description. </p>

</div>
</div>
<a class="anchor" id="a464d3912b1c188d1e1a2a6a45dcd8d73"></a><!-- doxytag: member="Link::Link::initialize" ref="a464d3912b1c188d1e1a2a6a45dcd8d73" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_link_1_1_link.html#a464d3912b1c188d1e1a2a6a45dcd8d73">Link::Link::initialize</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Initialize these parameters: numberUsers_, losses_, userId_, eNodeBId_, InterLimit_ and SoundingLimit_ from simulation parameters. </p>

</div>
</div>
<a class="anchor" id="a4cbb5fe539032007cee47b8a9d58b1dc"></a><!-- doxytag: member="Link::Link::setParameters" ref="a4cbb5fe539032007cee47b8a9d58b1dc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_link_1_1_link.html#a4cbb5fe539032007cee47b8a9d58b1dc">Link::Link::setParameters</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Interface. Detailed description. </p>

</div>
</div>
<a class="anchor" id="a4cbb5fe539032007cee47b8a9d58b1dc"></a><!-- doxytag: member="Link::Link::setParameters" ref="a4cbb5fe539032007cee47b8a9d58b1dc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_link_1_1_link.html#a4cbb5fe539032007cee47b8a9d58b1dc">Link::Link::setParameters</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set these <a class="el" href="namespace_parameters.html">Parameters</a>: numberUsers_, numberENodeBs_ and temperature from simulation parameters. noiseFigure_ from uplink parameters. boltzmannConstant_ (1.3806503e-23). bandwidth_, numberAntennas_ and reuse_ from system parameters. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>Link/<a class="el" href="_link_8h_source.html">Link.h</a></li>
<li>Link/<a class="el" href="_link2_8h_source.html">Link2.h</a></li>
<li>Link/<a class="el" href="_link_8cpp.html">Link.cpp</a></li>
<li>Link/Link2.cpp</li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Oct 25 2012 22:25:35 for LTE-UNB by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
